﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DCT.Model
{
    public class SwitchGraphModel : DeviceBaseGraphModel
    {
        public SwitchGraphModel()
            : base()
        {
            _swGraph = new SwitchGraph();
        }

        public SwitchGraphModel(SwitchGraph sw, Graph graph)
            : base(graph)
        {
            _swGraph = sw;
        }

        SwitchGraph _swGraph;

        public SwitchGraph Switch
        {
            get
            {
                return _swGraph;
            }
        }

        #region Properties

        public string MergePoint
        {
            get
            {
                return _swGraph.MergePoint;
            }
            set
            {
                _swGraph.MergePoint = value;
            }
        }

        public string NormalPoint
        {
            get
            {
                return _swGraph.NormalPoint;
            }
            set
            {
                _swGraph.NormalPoint = value;
            }
        }

        public string ReversePoint
        {
            get
            {
                return _swGraph.ReversePoint;
            }
            set
            {
                _swGraph.ReversePoint = value;
            }
        }

        #endregion // Properties
    }
}
